package com.ykht.proj.activity.mq;


import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@Component
@RefreshScope
@ConfigurationProperties(prefix = "rocketmq")
@Data
@ToString
public class MqConfig {
	private String  namasrv;
	private String  consumerGroup;
	private String  producerGroup;
	private String  topic;
}
